Passwords in the db don't work in different deployment environments
Reported by Subbu | December 18th, 2009 @ 04:18 AM
Hi there,
I have been trying to use the same database for 2 Rails applications. I want to use the same data for both the apps including the authentication. But if I try to login using the credentials created in one app in the other app it doesn't work. I use restful_authentication for the logins. Though I have sessions also in the database I have no intention to share them between the applications.
In further tests I imported the production db into my local development db and set it up in my local computer just to see if authentication works provided the same username/password. But it doesn't work. Here I am using the same application code and pretty much everything in the production environment has been replicated.
My site_keys.rb and session_store.rb are same across the production/development environments and the 2 apps I mentioned earlier.
Have anybody faced this problem?
Thanks
-subbu
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Restful Authentication Generator
This widely-used plugin provides a foundation for securely managing user
authentication:
* Login / logout
* Secure password handling
* Account activation by validating email
* Account approval / disabling by admin
* Rudimentary hooks for authorization and access control.
http://github.com/technoweenie/restful-authentication/tree